Fix a mixup in popover realization
authorMatthias Clasen <mclasen@redhat.com>
Sat, 25 Oct 2014 03:36:35 +0000 (23:36 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Sat, 25 Oct 2014 03:36:35 +0000 (23:36 -0400)
commit182dd3c1ea61319217a7b89099a8324bb387ed19
treec5a27b1a144d098dbbc61026739639e7fc73052c
parenta46d4e51f783ef23f92728daf3a3c29c2e3c4805
Fix a mixup in popover realization

When the window is on a non-default screen, popover_realize
ended up passing a visual and a parent_window from different
screens into gdk_window_new, which doesn't work. Fix it by
using the visual of the parent window.
gtk/gtkwindow.c